package io.gitee.yth.design.pattern.test.core.pattern.behavioral.strategy.serializer;

/**
 * @author yth
 * @since 2023-05-03-15:14
 */
public interface SerializeStrategy {

    String serialize(Object object);

    <T> T deserialize(String s, Class<T> clazz);

}
